Adventures in Associative-Commutative Unification
نویسندگان
چکیده
We have discovered an eecient algorithm for matching and uniication in associa-tive-commutative (AC) equational theories. In most cases of AC uniication our method obviates the need for solving diophantine equations, and thus avoids one of the bottlenecks of other associative-commutative uniication techniques. The algorithm eeciently utilizes powerful constraints to eliminate much of the search involved in generating valid substitutions. Moreover, it is able to generate solutions lazily, enabling its use in an SLD-resolution-based environment like Prolog. We have found the method to run much faster and use less space than other associative-commutative uniication procedures on many commonly encountered AC problems.
منابع مشابه
On the Parameterized Complexity of Associative and Commutative Unification
This paper studies the unification problem with associative, commutative, and associative-commutative functions mainly from a viewpoint of the parameterized complexity on the number of variables. It is shown that both associative and associative-commutative unification problems are W [1]-hard. A fixed-parameter algorithm and a polynomialtime algorithm are presented for special cases of commutat...
متن کاملAdventures in Associative-commutative Uniication
We have discovered an eecient algorithm for matching and uniication in associative-commutative (AC) and associative-commutative-idempotent (ACI) equational theories. In most cases of AC uniication and in all cases of ACI uniication our method obviates the need for solving diophantine equations, and thus avoids one of the bottlenecks of other associative-commutative uniication techniques. The al...
متن کاملA Complete Unification Algorithm for Associative-Commutative Functions
An important component of mechanical theorem proving systems are unification algorithms which find most genaral substitutions which, when applied to two expresssions, maka them equivalent. Functions which are associative and commutative (such as the arithmetic addition and multiplication functions) are often the subject of mechanical theorem proving. An algorithm which unifies terms whose funct...
متن کاملHigher-Order Equational Pattern Anti-Unification∗
We consider anti-unification for simply typed lambda terms in associative, commutative, and associative-commutative theories and develop a sound and complete algorithm which takes two lambda terms and computes their generalizations in the form of higher-order patterns. The problem is finitary: the minimal complete set of generalizations contains finitely many elements. We define the notion of o...
متن کاملAssociative-commutative rewriting via flattening
AC-rewriting is simulated by using flattened terms, flattened rewrite rules, extensions and specializations with respect to the AC-operators, therefore allowing us to reduce AC-pattern matching and AC-unification to permutative matching and permutative unification respectively.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- J. Symb. Comput.
دوره 8 شماره
صفحات -
تاریخ انتشار 1989